<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page admin.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name">/_inc/function/admin.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Admin Functions, Furasta.Org</p>
<p class="description"><p>Contains admin functions which are available  in the admin area only.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Conor Mac Aoidh &lt;<a href="mailto:conormacaoidh@gmail.com">conormacaoidh@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">license:</span> <a href="http://furasta.org/licence.txt">The BSD License</a></li>
			</ul>
		
			</div>
</div>
		

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functiondisplay_menu" id="functiondisplay_menu"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">display_menu</span> (line <span class="line-number">140</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">display_menu</p>
<p class="description"><p>changes the $menu_items array into a html formatted  menu</p></p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			display_menu
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$menu_items</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$menu_items</span>			</li>
				</ul>
		
	
</div>
<a name="functionget_page_url" id="functionget_page_url"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">get_page_url</span> (line <span class="line-number">82</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_page_url
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$pages</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pages</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_pages" id="functionlist_pages"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">list_pages</span> (line <span class="line-number">95</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_pages
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$pages</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$level</span> = <span class="var-default">0</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pages</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$level</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_parents" id="functionlist_parents"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">list_parents</span> (line <span class="line-number">68</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">list_parents</p>
<p class="description"><p>orderes the parent select box in order of parents  with indentation</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_parents
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$pages</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$level</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$default</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$pages</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$level</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$default</span>			</li>
				</ul>
		
	
</div>
<a name="functionpages_array" id="functionpages_array"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">pages_array</span> (line <span class="line-number">196</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">pages_array</p>
<p class="description"><p>returns a cached version of the pages array in the format  $pages[ id ] = name; it also has system restricted pagenames  at the end of the array</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			pages_array
		</span>
				()
			</div>

		
	
</div>
<a name="functionparse_template_file" id="functionparse_template_file"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">parse_template_file</span> (line <span class="line-number">33</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">parse_template_file</p>
<p class="description"><p>Parses the template file indicated, and returns  an array of details about the template, depending  on what keys are present in the template's style.css</p><p>Possible array keys:</p><p>Name  Description  Author  URL  Author URL</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			parse_template_file
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$file</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$file</span><span class="var-description">: to be parsed</span>			</li>
				</ul>
		
	
</div>
<a name="functiontinymce" id="functiontinymce"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">tinymce</span> (line <span class="line-number">242</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">tinymce</p>
<p class="description"><p>creates an instance of the tinymce text editor  manages all javascript etc</p></p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			tinymce
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$content</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$config</span> = <span class="var-default">&#039;Normal&#039;</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$name</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$content</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$config</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Thu, 07 Jun 2012 18:22:45 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>